NMES device with EMG-triggered and Cyclic capabilities